﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="imguploadpreview.js"></script>

</head>

<body>
    <div id="uploadfiles">

    </div>
    <br><br><br><br><br><br>
    <div id="uploadfiles2">

    </div>

    <iframe src="" frameborder="0"></iframe>
    <script>
        var p1 = new uploadpreview("uploadfiles", 2,function(data){console.log(data)}); //div 的 Id  和  图片控件的个数
        var p2 = new uploadpreview("uploadfiles2", 3,function(data){console.log(data)});
    </script>
</body>

</html>